#include<stdio.h>
int main()
{
	int i,s=0,n,t;
	scanf("%d",&n);
	for(i=1;i<=n;i++)
	{
		scanf("%d",&t);
		s=s+t;
	 } 
	printf("the sum is %d\n",s);
	return 0;
}
